@import "../module/task2_framework";
@import "../module/color-framework";
@import "../module/variablae-value-framework";



//html {
//  font-size: 328.5%;
//}


body{
  background: #f7f7f7;
}

.header{
  @extend %allot;
  height: 3.1rem;
  padding: 0 $value-gap;
  background-color:#29bde0 ;
  border: 1px solid white;

  .return{
    background-image: url("../images/return.png");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 28px;
    height: 30px;


  }

  .close{
    @extend .return;
    background-image:url("../images/close.png");
  }
}


main{
  padding: .1rem 0.5rem;
  margin: 1rem 0 1.5rem 0;

  h4 {
    border: 0.01rem solid #e6e6e6;
    margin-top: .2rem;
    background: #FFFFFF;
    line-height: 3.5rem;
    text-align: center;
    color: #69D1E9;
  }

li{
  list-style: none;
}
    ul {
      position: relative;
      margin-top: 0.8rem;
      padding: .6rem 0.5rem .6rem 5.5rem;
      border: 0.01rem solid #e6e6e6;
      background: #ffffff;

    .superscript {
      position: absolute;
      top: -0.8rem;
      left: 50%;
      margin-left: -1.5rem;
      border-bottom: 1.5rem solid #FFFFFF;
      border-left: 1.5rem solid transparent;
      border-right: 1.5rem solid transparent;
    }

      .day{
        position: absolute;
        left: 2.2rem;
        width: 0.05rem;
        height: 75%;
        background: #C9C9C9;
        margin-top: 1.2rem;

        .moon{
          display: inline-block;
          width: 2rem;
          height: 2rem;
          margin-left: -1rem;
          border: 0.05rem solid #C9C9C9;
          border-radius: 100%;
          background: #ffffff;
        }
        .sun{
          @extend .moon;
        }

      }


  }
}

main .day .moon img, main .day .sun img {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.45rem 0 0 .3rem;

}

main .day .sun {
  margin-top: 1.4rem;
}


.first{
  background: #24A7C6;
  line-height: 2.3rem;
  margin: 1.2rem 0;
  letter-spacing: 0.05rem;
  text-align: center;
  color: #ffffff;

  .triangle{
    @extend %triangle;

  }
}

footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(41, 189, 224);

  button{
    width: 50%;
    height: 2.86rem;
    margin: 0 .24rem;
    border-radius: 7px;
    background: #FBB435;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
  //  box-shadow: 0 0 0 1.5px #FBB435;
  }
}